package zcj.stu.Entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.math.BigDecimal;
import java.util.List;

@Data
@Document(collection = "goods")
public class Goods {
    @Id
    private String _id;
    private String name;
    private BigDecimal price;
    private long num;
    private String isSale;
    private String desc;
    private List<String>imgs;
    private String category;
}
